package cz.cernilovsky.android.profileapp.model;

import java.io.Serializable;

import android.content.Context;

public abstract class Action implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2539231193983691312L;
	protected Operation operation;
	abstract public boolean perform(Context context);
	public Operation getOperation() {
		return operation;
	}
	public void setTypeOfAction(Operation typeOfAction) {
		this.operation = typeOfAction;
	}
	public Action(Operation typeOfAction) {
		this.operation = typeOfAction;
	}
}